package com.ashen.boot.admin.configuration.datafilter;

import lombok.extern.slf4j.Slf4j;

@Slf4j
public class CkFilterThreadLocal {
    private static final ThreadLocal<CkFilterMetaData> ThreadLocalCkFilter = new ThreadLocal<>();
    public static void clear() {
        ThreadLocalCkFilter.remove();
    }
    public static void set(CkFilterMetaData metaData) {
        ThreadLocalCkFilter.set(metaData);
    }
    public static CkFilterMetaData get() {
        return ThreadLocalCkFilter.get();
    }
}